package com.cn.demo.mapper;

import com.cn.demo.entity.Internship;
import com.cn.demo.entity.InternshipLog;
import com.cn.demo.entity.InternshipLogExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface InternshipLogMapper {
    long countByExample(InternshipLogExample example);

    int deleteByExample(InternshipLogExample example);

    int deleteByPrimaryKey(String internshipLogId);

    int insert(InternshipLog record);

    int insertSelective(InternshipLog record);

    List<InternshipLog> selectByExample(InternshipLogExample example);

    InternshipLog selectByPrimaryKey(String internshipLogId);

    int updateByExampleSelective(@Param("record") InternshipLog record, @Param("example") InternshipLogExample example);

    int updateByExample(@Param("record") InternshipLog record, @Param("example") InternshipLogExample example);

    int updateByPrimaryKeySelective(InternshipLog record);

    int updateByPrimaryKey(InternshipLog record);

    List<InternshipLog> getInternshipLogAll(@Param("studentId")String studentId, @Param("curriculumInternshipId")String curriculumInternshipId);

    int isClockIn(String internshipId);

    int delete(String internshipId);

}